From 62051f58e74863c577984d491d3be168ba3eee39 Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Wed, 11 Jul 2007 18:40:02 +0000 Subject: [PATCH] Fix new breakage from a URL that includes &blah parameters. This is not a general-purpose fix, but it'll do until they break it again. --- gpsbabel/google.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gpsbabel/google.c b/gpsbabel/google.c index 7169dc158..0496d6422 100644 --- a/gpsbabel/google.c +++ b/gpsbabel/google.c @@ -455,6 +455,11 @@ google_read(void) *to++ = ' '; } } + else if ( !strncmp( from, "\\u0026utm", 9)) { + strcpy( to, "&utm" ); + to += 8; + from += 9; + } else if ( !strncmp( from, "\\u0026", 6 )) { *to++='&'; from += 6; -- 2.30.2